<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<base href="<%=basePath%>">
		<meta charset="utf-8" />
		<title></title>
		<meta name="description" content="overview & stats" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link href="static/css/bootstrap.min.css" rel="stylesheet" />
		<link href="static/css/bootstrap-responsive.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="static/css/font-awesome.min.css" />
		<!-- 下拉框 -->
		<link rel="stylesheet" href="static/css/chosen.css" />
		
		<link rel="stylesheet" href="static/css/ace.min.css" />
		<link rel="stylesheet" href="static/css/ace-responsive.min.css" />
		<link rel="stylesheet" href="static/css/ace-skins.min.css" />
		
		<link rel="stylesheet" href="static/css/datepicker.css" /><!-- 日期框 -->
		<script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
		<script type="text/javascript" src="static/js/jquery.tips.js"></script>
		
<script type="text/javascript">
</script>
	</head>
<body>
	<form action="borrowmoney/${msg }.do" name="Form" id="Form" method="post">
		<input type="hidden" name="bm_id" id="bm_id" value="${pd.bm_id}"/>
		<input type="hidden" name="bm_status" id="bm_status" />
		<div id="zhongxin">
		<table id="table_report" class="table table-striped table-bordered table-hover">
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">借款人:</td>
				<td><input style="width:500px;"  type="text" name="USERNAME" id="USERNAME" value="${pd.USERNAME}" maxlength="32" placeholder="这里输入" /></td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">部门名称:</td>
				<td><input style="width:500px;" type="text" name="department_name" id="department_name" value="${pd.department_name}" maxlength="32" placeholder="这里输入" /></td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">最迟到账时间:</td>
				<td><input style="width:500px;" class="span10 date-picker" type="text" name="accounting_date" id="accounting_date" value="${pd.accounting_date}" data-date-format="yyyy-mm-dd" readonly="readonly"/></td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">借款金额:</td>
				<td><input style="width:500px;" type="text" name="bm_amount" id="bm_amount" value="${pd.bm_amount}" maxlength="32" placeholder="这里输入" title=""/></td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">借款方式:</td>
				<td>
				<select  name="bm_way" id="bm_way"  data-placeholder="请选择" style="vertical-align:top;width: 520px;">
							<option value="0" <c:if test="${pd.bm_way==0}" >selected="selected" </c:if>>现金</option>
							<option value="1" <c:if test="${pd.bm_way==1}" >selected="selected" </c:if>>支票</option>
							<option value="2" <c:if test="${pd.bm_way==2}" >selected="selected" </c:if>>其它</option>
				</select>
				</td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">借款原因:</td>
				<td><textarea style="width:500px;"  name="bm_reason" id="bm_reason"  maxlength="1000" placeholder="这里输入" title="">${pd.bm_reason}</textarea></td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">借款账户:</td>
				<td><input style="width:500px;" type="text" name="bm_account" id="bm_account" value="${pd.bm_account}" maxlength="200" placeholder="这里输入" title=""/></td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">银行卡号:</td>
				<td><input style="width:500px;" type="text" name="bm_card_numbers" id="bm_card_numbers" value="${pd.bm_card_numbers}" maxlength="100" placeholder="这里输入" title=""/></td>
			</tr>
			<tr>
				<td style="width:70px;text-align: right;padding-top: 13px;">还款时间:</td>
				<td><input style="width:500px;" class="span10 date-picker" type="text" name="repayment_time" id="repayment_time" value="${pd.repayment_time}" data-date-format="yyyy-mm-dd" readonly="readonly"/></td>
			</tr>
<!-- 			<tr> -->
<!-- 				<td style="width:70px;text-align: right;padding-top: 13px;">超出时间:</td> -->
<%-- 				<td><input style="width:500px;" type="text" name="beyond_day" id="beyond_day" value="${pd.beyond_day}" maxlength="32" readonly="readonly"/></td> --%>
<!-- 			</tr> -->
<!-- 			<tr> -->
<!-- 				<td style="width:70px;text-align: right;padding-top: 13px;">借款申请单附件:</td> -->
<%-- 				<td><input style="width:500px;" type="text" name="bm_attachment" id="bm_attachment" value="${pd.bm_attachment}" maxlength="32" readonly="readonly"/></td> --%>
<!-- 			</tr> -->
			
			<tr>
				<td style="text-align: center;" colspan="10">
					<a class="btn btn-mini btn-danger" onclick="top.Dialog.close();">取消</a>
				</td>
			</tr>
		</table>
		</div>
		
		<div id="zhongxin2" class="center" style="display:none"><br/><br/><br/><br/><br/><img src="static/images/jiazai.gif" /><br/><h4 class="lighter block green">提交中...</h4></div>
		
	</form>
	
	
		<!-- 引入 -->
		<script type="text/javascript">window.jQuery || document.write("<script src='static/js/jquery-1.9.1.min.js'>\x3C/script>");</script>
		<script src="static/js/bootstrap.min.js"></script>
		<script src="static/js/ace-elements.min.js"></script>
		<script src="static/js/ace.min.js"></script>
		<script type="text/javascript" src="static/js/chosen.jquery.min.js"></script><!-- 下拉框 -->
		<script type="text/javascript" src="static/js/bootstrap-datepicker.min.js"></script><!-- 日期框 -->
		<script type="text/javascript">
		$(top.hangge());
		$(function() {
			
			//单选框
			$(".chzn-select").chosen(); 
			$(".chzn-select-deselect").chosen({allow_single_deselect:true}); 
			
			//日期框
			$('.date-picker').datepicker();
			
		});
		
		</script>
</body>
</html>